<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>细线连接按钮</title>
</head>

<body>

    <!--
        网址：https://www.macz.com/mac/608.htmlasdfasdf
    -->
    <a class="button type1">
        点此回首页
    </a>

    <style>
        .button.type1 {
            color: #566473;
        }

        .button {
            position: relative;
            padding: 1em 1.5em;
            border: none;
            background-color: transparent;
            cursor: pointer;
            outline: none;
            font-size: 20px;
            margin: 15em 0.8em;
        }

        a {
            text-decoration: none;
        }








        .button.type1.type1::after,
        .button.type1.type1::before {
            content: "";
            display: block;
            position: absolute;
            width: 20%;
            height: 20%;
            border: 2px solid;
            transition: all 0.6s ease;
            border-radius: 2px;
        }


        .button.type1.type1:hover:after,
        .button.type1.type1:hover:before {
            width: 100%;
            height: 100%;
        }

        .button.type1.type1::before {
            top: 0;
            left: 0;
            border-bottom-color: transparent;
            border-right-color: transparent;
            border-top-color: #566473;
            border-left-color: #566473;
        }

        .button.type1.type1::after {
            bottom: 0;
            right: 0;
            border-top-color: transparent;
            border-left-color: transparent;
            border-bottom-color: #566473;
            border-right-color: #566473;
        }

        body {
            width: 800px;
            text-align: center;
            padding: 200px;

            background-color: #ECECEC;
        }
    </style>
</body>

</html>